package cn.ffcs.unm.military.manager.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.unm.military.dao.SoldierSituationDao;
import cn.ffcs.unm.military.manager.SoldierSituationManager;
import cn.ffcs.unm.military.model.MilitaryRetirement;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("soldierSituationManager")
@Scope("prototype")
public class SoldierSituationManagerImpl implements SoldierSituationManager {

	@Resource
	private SoldierSituationDao soldierSituationDao;

	@Override
	public PageInfo queryPageInfoByMilitaryRetirement(
			MilitaryRetirement militaryRetirement, int currentPage, int pageSize) {
		return soldierSituationDao.queryPageInfoByMilitaryRetirement(
				militaryRetirement, currentPage, pageSize);
	}

}
